//
//  FWShareObject.h
//  FWShare
//
//  Created by 范文青 on 14-6-14.
//  Copyright (c) 2014年 fwq. All rights reserved.
//

#import <Foundation/Foundation.h>
@class FWAuthUser;
@interface FWShareObject : NSObject
- (instancetype)initWithPlatform:(NSString *)platform;

@property (nonatomic,readonly)NSString *platform;
@property (nonatomic,assign) BOOL forceAuth;
- (void)auth:(UIViewController *)parentController success:(void(^)(FWAuthUser *,NSString *))success failed:(void(^)(NSError *,NSString *))failed canceled:(void(^)(NSString *))canceld;


@property (nonatomic,copy)void (^shareComplete)(BOOL,NSError *);
- (void)share:(NSString *)content;
- (void)share:(NSString *)content pic:(NSData *)pic;
@end
